package tmall.domain.service;

import org.springframework.stereotype.Service;
import tmall.common.mapper.BaseMapper;
import tmall.common.service.BaseService;
import tmall.domain.entity.Category;
import tmall.domain.mapper.CategoryMapper;

import javax.annotation.Resource;

/**
 * @author zhangservlet
 * @date 2020/11/17
 */
@Service
public class CategoryService extends BaseService<Category> {

    @Resource
    private CategoryMapper categoryMapper;

    @Override
    protected BaseMapper<Category> getMapper() {
        return this.categoryMapper;
    }

}
